#ifndef HISTORY_H
#define HISTORY_H

#include <QWidget>
#include <QByteArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QDebug>
#include "qcustomplot.h"
namespace Ui {
class History;
}

class History : public QWidget
{
    Q_OBJECT

public:
    explicit History(QWidget *parent = 0);
    ~History();

public slots:
    void dataUpSlot(QByteArray);
    void sendJson();
signals:
    void sendmessage(QByteArray);



private:
    Ui::History *ui;
    QCustomPlot *customPlot;
};

#endif // HISTORY_H
